//
//  NSURL+ATKit.m
//  Postre
//
//  Created by CoderLT on 2017/6/4.
//  Copyright © 2017年 CoderLT. All rights reserved.
//

#import "NSURL+ATKit.h"

@implementation NSURL (ATKit)
+ (instancetype)URLWithEncodeString:(NSString *)urlString {
    return [self URLWithString:[urlString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]];
}
@end
